package auto.app.service;

import auto.app.controller.from.ParamsAddFrom;
import auto.app.controller.from.ParamsAddFromJson;
import auto.app.controller.from.ParamsUpdateFrom;
import auto.app.controller.info.ParamsInfo;
import auto.app.exetion.MainExection;
import auto.app.model.Params;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 请求参数信息表 服务类
 * </p>
 *
 * @author 杨森
 * @since 2022-07-09
 */
public interface ParamsService extends IService<Params> {

    public Boolean addParams(ParamsAddFrom paramsAddFrom) throws MainExection;

    public Boolean addParamsJson(ParamsAddFromJson paramsAddFromJson) throws MainExection;

    public Boolean delete(Integer id) throws MainExection;

    public ParamsInfo list(Integer caseid) throws MainExection;

    public Boolean update(ParamsUpdateFrom paramsUpdateFrom) throws MainExection;

    public Params detail(Integer id) throws MainExection;

}
